WeDevs\Dokan\CatalogMode\Helper S

Total Complexity 20
Dependencies 0
Dependents 4
Total lines 175
Lines of code 70
Logical lines of code 33
Comment lines 83
Methods 10
Properties 0

Methods 10

Method Rating Maintainability Complexity Lines of code
get_catalog_mode_data_by_product()
S
56 6 17
get_vendor_catalog_mode_settings()
S
62 3 12
is_enabled_by_vendor()
S
71 2 6
hide_product_price_option_is_enabled_by_vendor()
S
68 2 7
hide_add_to_cart_button_option_is_enabled_by_vendor()
S
68 2 7
is_enabled_by_admin()
S
80 1 3
hide_product_price_option_is_enabled_by_admin()
S
78 1 3
hide_add_to_cart_button_option_is_enabled_by_admin()
S
78 1 3
get_defaults()
S
68 1 8
is_enabled_for_product()
S
74 1 4